<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%@include file="../common/top.jsp"%>
	<table class="table table-hover table-bordered">
		<caption style="background-color: #428BCA;">
			<span class="label pull-left"
				style="font-family: white; font-size: 16px"><span class="local"
						data-local="flow_person_task_title">个人任务管理列表：</span></span>
		</caption>
		<thead>
			<tr>
				<th><span class="local"
						data-local="flow_person_task_tbl_id">任务ID</span></th>
				<th><span class="local"
						data-local="flow_person_task_tbl_name">任务名称</span></th>
				<th><span class="local"
						data-local="flow_person_task_tbl_time">创建时间</span></th>
				<th><span class="local"
						data-local="flow_person_task_tbl_handle">办理人</span></th>
				<th><span class="local"
						data-local="flow_person_task_tbl_operate">操作</span></th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${taskList }" var="task">
				<tr>
					<td>${task.id  }</td>
					<td>${task.name }</td>
					<td><fmt:formatDate value="${task.createTime }"
							pattern="yyyy-MM-dd HH:mm:ss" /></td>
					<td>${task.assignee }</td>

					<td><a
						href="http://localhost:8888/simple_activiti/workflow/view_task_form.do?taskId=${task.id  }"><span class="local"
						data-local="flow_person_task_btn_handle_task">办理任务</span></a>&nbsp;&nbsp;
						<a
						href="http://localhost:8888/simple_activiti/workflow/view_curr_img.do?taskId=${task.id  }"><span class="local"
						data-local="flow_person_task_btn_view_img">查看当前任务流程图</span></a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>


</body>
</html>